package com.wangx1n.spring5;

/**
 * @author WangXin
 * @date 2020/12/2 17:01
 */
public class Order {
    private String oname;
    private String address;

    //有参构造器
    public Order(String oname, String address) {
        this.oname = oname;
        this.address = address;
    }

    public void print(){
        System.out.println("名字："+oname+"  地址："+address);
    }
}
